

    <div class="headingBox">
        <div class="FloatLeft"><img alt="" src="<?php echo imageUrl(); ?>red_leftRound.jpg" height="24" width="5"></div>
        <div style="width:992px;" class="red_midRound">Blacklist</div>
        <div class="FloatLeft"><img alt="" src="<?php echo imageUrl(); ?>red_rightRound.jpg" height="24" width="5"></div>
    </div>
        <div>
        <form method="post" action="<?php echo base_url().$this->uri->segment(1); ?>/save<?php echo (isset($id) && $id > 0) ? "/$id" : ''; ?>">
            <input name="sbmt" id="sbmt" value="1" type="hidden">
            <table class="subContentTable" cellpadding="2" cellspacing="5" width="100%">
                <tbody><tr>
                    <td width="20%"><strong>CLI<span class="required">*</span>:</strong></td>
                    <td width="35%">
                        <input name="blacklist_cli" id="blacklist_cli" value="<?php echo set_value('blacklist_cli', isset($blacklist_cli) ? $blacklist_cli : '' ); ?>" size="30" type="text">
                        <?php echo form_error('blacklist_cli', '<div class="errorMsg_1" style="">', '</div>'); ?>
                    </td>
                    <td width="20%"><strong>Campaign Type<span class="required">*</span>:</strong></td>
                    <td width="35%">
                        <?php 
						  $camp_type_arr = array('Inbound' => 'Inbound', 'Outbound' => 'Outbound');
						  $campaign_type = set_value('campaign_type', isset($campaign_type) ? $campaign_type : '' );
						  echo create_select("campaign_type", $camp_type_arr, $campaign_type );
						  echo form_error('campaign_type', '<div class="errorMsg_1" style="">', '</div>');
						?>
                    </td>
                </tr>

                <tr bgcolor="#fff1d5">
                    
                    <td width="20%"><strong>Status<span class="required">*</span>:</strong></td>
                    <td width="35%">
                       <?php
					   $active = set_value('active', isset($active) ? $active : '' );
                       $active_array['Y'] = 'Active';
                       $active_array['N'] = 'In-active';
	                   echo create_select("active", $active_array, $active );
					   echo form_error('active', '<div class="errorMsg_1" style="">', '</div>'); ?>
                    </td>
                    <td colspan="2" align="right">
                        <input value="" class="backBtn" onclick="location.href='<?php echo base_url().$this->uri->segment(1); ?>';" type="button">
                        <input value="" class="submitBtn" type="submit">
                    </td>
                </tr>
            </tbody></table>
        </form> 
    </div>
